package com.cd.javacxy.module.web.service;

import com.cd.javacxy.common.model.entity.CxyTopicVote;
import com.cd.javacxy.exception.BussinessException;

/**
 * CxyTopicVote的服务接口
 *
 * @author yanghy
 */
public interface CxyTopicVoteService {


    int addVote(CxyTopicVote topicVote, String[] voteTitle) throws BussinessException;

    CxyTopicVote getTopicVote(Integer topicId, Integer userId);

    CxyTopicVote doVote(Integer voteId, Integer type, Integer[] voteDtlId, Integer userId, Integer topicId)throws BussinessException;
}
